﻿//------------------------------------------------------------------------------
// <copyright file="Program.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation.  All rights reserved.
// </copyright>
// <summary>
// A service that redirects TCP data from one machine to another.
// </summary>
//------------------------------------------------------------------------------

namespace Microsoft.Internal.GamesTest.Rpc.Tests.RemoteLoopback
{
    // User-defined namespaces...
    using Microsoft.Internal.GamesTest.Rpc.Tests.Utilities;

    /// <summary>
    /// A service that redirects TCP data from one machine to another.
    /// </summary>
    internal class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        /// <param name="args">The command line arguments.</param>
        /// <returns>
        /// Zero if the application was successful; otherwise an error code indicating the reason for failure.
        /// </returns>
        public static int Main(string[] args)
        {
            LoopbackServer server = new LoopbackServer(false);
            server.ListenForClients();

            return 0;
        }
    }
}
